package com.huizhan.web.model;

import javax.persistence.*;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.*;

/**
 * @Description 项目类型权限 
 * @Author  yanluping@outlook.com
 * @Date 2020-01-09 19:15:53 
 */
@JsonIgnoreProperties({"hibernateLazyInitializer","handler"})
@Entity
@ApiModel(value =  "项目类型权限")
@Table ( name ="Project_Type_Authorize")
public class ProjectTypeAuthorize  implements Serializable {

	private static final long serialVersionUID =  3301415153362149095L;

	/**
	 * 项目类型权限Id
	 */
	@ApiModelProperty(value = "项目类型权限Id")
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
   	@Column(name = "Project_Type_Authorize_Id" )
	private Long projectTypeAuthorizeId;

	/**
	 * 授权ID
	 */
	@ApiModelProperty(value = "授权ID")
   	@Column(name = "Authorize_Id" )
	private Long authorizeId;

	/**
	 * 项目类型ID
	 */
	@ApiModelProperty(value = "项目类型ID")
   	@Column(name = "Project_Type_Id" )
	private Long projectTypeId;

	public Long getProjectTypeAuthorizeId() {
		return this.projectTypeAuthorizeId;
	}

	public void setProjectTypeAuthorizeId(Long projectTypeAuthorizeId) {
		this.projectTypeAuthorizeId = projectTypeAuthorizeId;
	}

	public Long getAuthorizeId() {
		return this.authorizeId;
	}

	public void setAuthorizeId(Long authorizeId) {
		this.authorizeId = authorizeId;
	}

	public Long getProjectTypeId() {
		return this.projectTypeId;
	}

	public void setProjectTypeId(Long projectTypeId) {
		this.projectTypeId = projectTypeId;
	}

	@Override
	public String toString() {
		return "{" +
					"projectTypeAuthorizeId='" + projectTypeAuthorizeId + '\'' +
					"authorizeId='" + authorizeId + '\'' +
					"projectTypeId='" + projectTypeId + '\'' +
				'}';
	}

}
